package auth_service

import (
	"gitee.com/xuaxu/go-gin/models/article_new"
)

type Auth struct {
	Username string
	Password string
}

func (c *Auth) Check() (int64, bool, error) {
	return article_new.CheckUser(c.Username, c.Password)
}
